import { createSSRApp } from 'vue';
import App from './App.vue';
import * as Pinia from 'pinia';
import pinia from '@/stores/index.js';
// #ifdef H5
import eruda from 'eruda'
// #endif

export function createApp() {
	// #ifdef H5
	eruda.init()
	// #endif
    const app = createSSRApp(App);
    app.use(pinia);
    return { app,Pinia};
}
